package aaaPKg;

import java.io.File;

import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;

public class dom4jReader {

	public static void main(String[] args) throws DocumentException {
		String f="D:\\0workspace\\atiplat_restapi\\src\\aaaPKg\\flow_design_cs.xml";
	    SAXReader reader = new SAXReader();           
	       Document   document = reader.read(new File(f));  
	       Element root = document.getRootElement(); 
	       Element process_element=root.element("process");  
	       Element element_def=root.element("definitions"); 
	       Attribute attribute=process_element.attribute("deadlineLimit");  
	       System.out.println(attribute.getValue());

	}

}
